package org.dev.vlp.service;

import org.dev.vlp.dto.PublishMomentParam;
import org.dev.vlp.entity.Moment;
import com.baomidou.mybatisplus.extension.service.IService;
import org.dev.vlp.utils.PageResult;
import org.dev.vlp.vo.MomentVo;

import java.util.List;

/**
* @author 86184
* @description 针对表【vlp_moment(动态表)】的数据库操作Service
* @createDate 2023-01-10 13:11:59
*/
public interface MomentService extends IService<Moment> {

    void publishMoment(PublishMomentParam publishMomentParam,int userId);

    PageResult queryTopicMoment(int topicId, int pageSize, int page);

    MomentVo getMomentDetail(int momentId);

    void deleteMoment(int momentId,int userId);

    PageResult queryComMoment(int comId, int pageSize, int page);
}
